package com.lanou.service;

import com.lanou.bean.Account;
import com.lanou.bean.Service;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/16.
 */
public interface ServiceService {
    void deleteServiceByAccount(int id);

    List<Service> selectAllBill();

    Service selectAllBillById(int id);

    List<Service> selectAllService();

    Service selectServiceByServiceId(int id);

    void delectService(int id);

    void updateStatu(int id, String status);

    void updataService(int id, int costid);

    void updataServiceByaccountId(int id, String statu);

    void insertService(Service service);

    List<Service> selectByOSName(String osName, String ip,String card,String status);

    Service selectByServiceId(int id);

    void updatePauseDate(String pause, int id);

    void updateDelPauseDate(String pause, int id);

    void updateCloseDate(String close, int id);


}
